package com.tgy;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;


@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages ={"com.tgy.service"})
// 开启Dashboard
@EnableHystrixDashboard
public class ConsumerDeptDashboard{

    public static void main(String[] args) {
        SpringApplication.run(ConsumerDeptDashboard.class, args);
    }

}
